<!DOCTYPE html>
<html>
<head lang="en">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">   <!-- 采用高速模式渲染（目前仅有360支持） -->
    <meta name="description" content="{$hfdesc}">
    <meta name="keywords" content="{$hfkeywords}">
    <title>{if $hftitle eq ''}海风商城{else}{$title}{/if}</title>
    <link rel="stylesheet" href="{$CSS_PATH}base.css"/>
    <link rel="shortcut icon" href="favicon.ico" />
    <script type="text/javascript" src="{$JS_PATH}jquery-1.12.3.min.js"></script>
    <script type="text/javascript" src="{$JS_PATH}index.js"></script>

</head>
<body>
<!--header Start-->
<script>
    $(function(){
        $('input').focus(function(){
            $(".hf-err-tips" ).hide();
        });

    })

    function login()
    {
        $("#login" ).show();
        disableScroll();

    }
    function disableScroll(){
    // body上禁用
        $('body, html').css({
            'overflow-y': 'hidden',
           
        });

    }

    function enableScroll(){
    // body上
        $('body, html').css({
            'overflow': 'auto',
           
        });

    }
  
    function gotoLogin()
    {
        var obj={};
        $("#login-box input" ).each(function(){
            obj[$(this).attr('name')]= $.trim($(this ).val());
        })
        $.post('user.php?act=login',obj,function(data){
            console.info(data)
            if(data.status=='false')
            {
                $("#error-tips" ).text(data.error).parents('.hf-err-tips' ).show();
            }else{
                window.location.reload();
            }
        },'json')
    }

    function gotoRegister()
    {
        var obj={type:'register'};
        $("#register-box input" ).each(function(){
            obj[$(this).attr('name')]= $.trim($(this ).val());
        })
        if(obj['username' ].length()=='')
        {
            return $("#register-phone-tips" ).text(data.error).parents('.hf-err-tips' ).show();
        }
        $.post('user.php?act=register',obj,function(data){
            if(data.status=='false')
            {
                if(data.type=='isexist')
                {
                    return $("#register-username-tips" ).text('请正确输入用户名').parents('.hf-err-tips' ).show();
                }else if(data.type=='code_error')
                {
                    return $("#code-tips" ).show();
                }else if(data.type=='password_error')
                {
                    return $("#password-tips" ).text(data.error).parents('.hf-err-tips' ).show();
                }
            }else{
                window.location.reload();
            }
        },'json')
    }

    function sendSMSCode()
    {
        $("#code-tips" ).hide();
        var phone= $.trim($("#register-user-phone" ).val());
        if(phone.length!=11)
        {
            return $("#register-phone-tips" ).text('请正确输入手机号').parents('.hf-err-tips' ).show();
        }
        $.post('user.php?act=send_sms_code',{phone:phone},function(data){
            console.info(data);
            if(data.status=='false')
            {
                if(data.type=='error_phone_format')
                {
                    return $("#register-phone-tips" ).text(data.error).parents('.hf-err-tips' ).show();
                }else if(data.type=='phone_isexist')
                {
                    return $("#register-phone-tips" ).text(data.error).parents('.hf-err-tips' ).show();
                }
                $("#register-code-tips" ).text('验证码发送失败请稍后尝试').parents('.hf-err-tips' ).show();
            }else{
                $("#register-send-code-btn" ).text('验证码发送成功');
            }
        },'json')
    }
    var find_password_phone='';
    var find_password_code='';
    //校验验证码是否正确
    function stepOneBtn()
    {
        var reset_password_phone=find_password_phone=$('#resetpassword-phone' ).val();
        var reset_password_code=find_password_code=$("#resetpassword-code" ).val();
        if(reset_password_phone.length!=11)
        {
            return $("#resetpassword-phone-tips" ).text('请正确输入手机号').parents('.hf-err-tips' ).show();
        }
        if(reset_password_code<6){
            return $("#resetpassword-send-code-tips" ).text('请正确输入验证码').parents('.hf-err-tips' ).show();
        }
        $.post('user.php?act=reset_password_check_smscode',{phone:reset_password_phone,code:reset_password_code},function(data){
            console.info(data);
            if(data.status=='false')
            {
                if(data.type=='error_phone_format')
                {
                    return $("#resetpassword-phone-tips" ).text(data.error).parents('.hf-err-tips' ).show();
                }
                return $("#resetpassword-send-code-tips" ).text(data.error).parents('.hf-err-tips' ).show();
            }else{
                $('#resetpwd-1').hide();$('#resetpwd-2').show();
                //$("#resetpassword-send-code" ).text('验证码发送成功');
            }
        },'json');

    }
    /*function stepTwoBtn()
    {

        var reset_password_code=$("#resetpassword-code" ).val();
        var new_password=$("#resetpassword-new-again-password").val();
        var new_again_password=$("#resetpassword-new-again-password" ).val();
        if(new_password.length<6||new_password.length>20)
        {
            return $("#reset-password-step-two-new-password-tips" ).text('请正确输入6到20位密码').parents('.hf-err-tips' ).show();
        }
        if(new_again_password!=new_password)
        {
            return $("#reset-password-step-two-new-again-password-tips" ).text('两次密码输入不一致').parents('.hf-err-tips' ).show();
        }
        $.post('',{phone:'',new_password:new_password,repeat_new_password:phone:find_password_phone},function(data){
            console.info(data);
        },'json');
    }*/
    function resetSendSMSCode()
    {
        var phone= $.trim($("#resetpassword-phone" ).val());

        if(phone.length!=11)
        {
            return $("#resetpassword-phone-tips" ).text('请正确输入手机号').parents('.hf-err-tips' ).show();
        }
        $.post('user.php?act=reset_send_sms_code',{phone:phone},function(data){
            console.info(data);
            if(data.status=='false')
            {
                if(data.type=='error_phone_format')
                {
                    return $("#resetpassword-phone-tips" ).text(data.error).parents('.hf-err-tips' ).show();
                }else if(data.type=='phone_notisexist')
                {
                    return $("#resetpassword-phone-tips" ).text(data.error).parents('.hf-err-tips' ).show();
                }
                return $("#resetpassword-phone-tips" ).text(data.error).parents('.hf-err-tips' ).show();
                $("#resetpassword-send-code-tips" ).text('验证码发送失败请稍后尝试').parents('.hf-err-tips' ).show();
            }else{
                $("#resetpassword-send-code" ).text('验证码发送成功');
            }
        },'json')
    }
    function resetPassword()
    {

        var new_password=$("#resetpassword-new-password" ).val();
        var new_repeat_password=$("#resetpassword-new-again-password" ).val();
        if(new_password.length<6||new_password.length>32)
        {
            return $("#reset-password-step-two-new-password-tips" ).text('请正确输入6到20位密码').parents('.hf-err-tips' ).show();
        }
        if(new_password!=new_repeat_password)
        {
            return $("#reset-password-step-two-new-again-password-tips" ).text('两次密码不一致').parents('.hf-err-tips' ).show();
        }
        /*$("#resetpwd input" ).each(function(){
            obj[$(this).attr('name')]= $.trim($(this ).val());
        })*/
        $.post('user.php?act=resetpassword',{phone:find_password_phone,new_password:new_password,repeat_password:new_repeat_password},function(data){
            console.info(data)
            if(data.status=='false')
            {
                if(data.type=='error_phone_format')
                {
                    return $("#reset-password-step-two-new-again-password-tips" ).text(data.error).parents('.hf-err-tips' ).show();
                }else if(data.type=='phone_notisexist')
                {
                    return $("#reset-password-step-two-new-again-password-tips" ).text(data.error).parents('.hf-err-tips' ).show();
                }
                return $("#reset-password-step-two-new-again-password-tips" ).text(data.error).parents('.hf-err-tips' ).show();
            }else{
                $("#change-password-success" ).show();
                setInterval(function(){
                    var tt=parseInt($("#time-second" ).text());
                        tt--;
                        if(tt<0)
                        {
                            return window.location.reload();
                        }
                    $("#time-second" ).text(tt);

                }, 1000 )
                //window.location.reload();
            }
        },'json')

        return;

    }

    function helper(){
        var isShowHelper=localStorage.isShowHelper;
        if($("#course" ).css('display')!='none'){
            return $("#helper" ).hide();
        }
        if(isShowHelper=="true")
        {
            $("#helper" ).show();
            disableScroll();
        }else{
            $("#helper" ).hide();
        }
        //$("#helper" ).show();
    }
    $(function(){
        setInterval(helper, 5000 );
        localStorage.grade=null;
        localStorage.rank=null;
        $(".grade li" ).click(function(){
            //console.info($(this ).html())
            $(".grade li" ).removeClass('curr');
            $(this).addClass('curr');
            var grade=$(this ).attr('data-name');
            localStorage.grade=grade;
        })
        $(".paiming li" ).click(function(){
            $('.paiming li').removeClass('curr');
            $(this).addClass('curr');
            var rank=$(this ).text();
            localStorage.rank=rank;
        })
    })
    function helperKecheng()
    {
        var grade=localStorage.grade;
        var rank=localStorage.rank;
        $.post('goods.php?act=helper',{grade:grade,rank:rank},function(data){
            console.info(data);
            if(data.status=='ok'){
                data=data.data;
                var str="";
                //console.info(data.length);return;
                $("#helper-course" ).html();
                for(var i=0;i<data.length;i++)
                {
                    str+='<li>';
                    str+="<a href='"+data[i].url+"&from=helper'>";
                    str+="<em></em>";
                    str+="<h3>"+data[i].title+"</h3>";
                    str+="<p>"+data[i].brief+"</p>";
                    str+="<a href="+data[i ].url+">查看详情</a>";
                    str+="</a>";
                    str+="</li>";
                }
                $("#helper-course" ).html(str);
            }else{
                $("#helper-course" ).html('暂时没有对应课程');
            }

           /*<li >
            <a href="goods.php?id=">
            <em></em>
            <h3>初中金牌课程套餐32课时</h3>
            <p>适合备考时间较少，需要在短期内攻破几个重要知识点的学生</p>
            <a href="#">查看详情</a>
            </a>
            </li>*/

            showCourse();
        },'json')
    }
    if(typeof localStorage.isShowHelper=='undefined')
    {
        localStorage.isShowHelper=true;
    }
    function gotoUser()
    {
        var user_id={$smarty.session.user_id};
        if(user_id<=0)
        {
            return $("#login").show();
        }
        window.location.href="user.php?";
    }
    function closeHelper()
    {
        $('#helper' ).hide();
        $("#course" ).hide();
        localStorage.isShowHelper=false;
    }
    function showCourse()
    {
        $("#helper" ).hide();
        $("#course" ).show();

    }
</script>

<!--右侧贴边导航quick_links.js控制-->

<div class="mui-mbar-tabs">
    <div class="quick_link_mian">

        <div class="quick_links_panel">
            <div id="quick_links" class="quick_links">
                <ul>
                    <li>
                        <a href="#" onclick="$('#helper').show();localStorage.isShowHelper=true;" class="history_list"><i class="zhushou"></i></a>
                    </li>
                    <li>
                        <a href="#" class="history_list"><i class="view"></i></a>
                        <div class="mp_tooltip" style=" visibility:hidden;" onclick="javascript:window.open('http://www10.53kf.com/webCompany.php?arg=10069074&amp;style=1&amp;keyword=&amp;kf=')">
                            <p >
                                在线客服 </p>
                            <p class="p3" onclick="javascript:window.open('http://www10.53kf.com/webCompany.php?arg=10069074&amp;style=1&amp;keyword=&amp;kf=')">(点击详情)</p>
                            <i class="icon_arrow_right_black"></i>
                        </div>
                    </li>
                    <li>
                        <a href="#" class="my_qlinks"><i class="setting"></i></a>
                        <div class="ibar_login_box status_login">
                            <div class="avatar_box">
                                <p>   海风微信</p>
                                <p class="avatar_imgbox">
                                    <img src="{$IMG_PATH}img_qrcode.png" alt="">
                                </p>

                            </div>

                            <i class="icon_arrow_white"></i>
                        </div>
                    </li>
                    <li>
                        <a href="#" class="my_qlinks"><i class="weibo"></i></a>
                        <div class="ibar_login_box status_login">
                            <div class="avatar_box">
                                <p>  海风官方微博</p>
                                <p class="avatar_imgbox">
                                    <img src="{$IMG_PATH}img_qrcode.png" alt="">
                                </p>

                            </div>

                            <i class="icon_arrow_white"></i>
                        </div>
                    </li>
                    <li>
                        <a href="#" class="mpbtn_histroy"><i class="tel"></i></a><div class="mp_tooltip"> <p onclick="javascript:window.open('http://www10.53kf.com/webCompany.php?arg=10069074&amp;style=1&amp;keyword=&amp;kf=')">
                        海风热线 </p>
                        <p class="p3">4008-331-112</p>
                        <i class="icon_arrow_right_black"></i></div>
                    </li>
                    <li id="go_top">
                        <a href="#" class="mpbtn_histroy">
                            <i class="tops"></i>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">


    $(".quick_links_panel li").mouseenter(function(){

        $(this).children(".mp_tooltip").animate({left:-130,queue:true});

        $(this).children(".mp_tooltip").css("visibility","visible");

        $(this).children(".ibar_login_box").css("display","block");

    });

    $(".quick_links_panel li").mouseleave(function(){

        $(this).children(".mp_tooltip").css("visibility","hidden");

        $(this).children(".mp_tooltip").animate({left:-159,queue:true});

        $(this).children(".ibar_login_box").css("display","none");

    });

    $(".quick_toggle li").mouseover(function(){

        $(this).children(".mp_qrcode").show();

    });

    $(".quick_toggle li").mouseleave(function(){

        $(this).children(".mp_qrcode").hide();

    });
</script>


<!-- 登录弹出框 Start-->
<div class="login" id="login">
    <div class="mask">
    </div>
    <div id="login-box" class="share-component">
        <div class="popTitle">
            <span class="title">登录账号</span>
            <i class="iconfont close" onclick="$('#login').hide();enableScroll()">&#xe600;</i>
        </div>
        <div class="login-box clearfix ">
            <div class="hf-input ">
                <input class="hf-username" id="login-username" name="mobile" placeholder="请输入手机号" data-hf-widgets="1">
                <span class="hf-err-tips" style="display: none;"><i class="iconfont icon_error">&#xe605;</i><span>手机号码格式不正确</span></span>
            </div>
            <div class="hf-input ">
                <input type="password" class="hf-password" name="password" maxlength="20" placeholder="密码" data-hf-widgets="2">
                <span class="hf-err-tips" style="display: none;"><i class="iconfont icon_error">&#xe605;</i><span id="error-tips">密码错误</span></span>
            </div>
            <button class="hf-btn btn-bule" type="submit" onclick="gotoLogin()">登录</button>
            <div class="hf-third-login clearfix">
                <ul class="forget-pwd ">
                    <li class="fl"><a href="#" class="col-blue" onclick="$('#login').hide();$('#register').show();">快速注册</a></li>
                    <li class="fr"><a href="#" onclick="$('#resetpwd-1').show();$('#login').hide()">忘记密码</a></li>
                </ul>
            </div>
        </div>
    </div>
</div>
<!-- 登录弹出框 Start-->
<!-- 注册弹出框 Start-->
<div class="register" id="register">
    <div class="mask">
    </div>
    <div class="share-component" id="register-box">
        <div class="popTitle">
            <span class="title">注册账号         </span>
            <i class="iconfont close" onclick="$('#register').hide();enableScroll()">&#xe600;</i>
        </div>
        <div class="login-box clearfix padd30">
            <div class="hf-input ">
                <input class="hf-username" id="register-user-phone" name="phone" placeholder="请输入手机号"  data-hf-widgets="1">
                <span class="hf-err-tips" style="display: none;"><i class="iconfont icon_error">&#xe605;</i><span id="register-phone-tips">手机号码格式不正确</span></span>
            </div>
            <div class="hf-input ">
                <input class="hf-captcha" id="register-code" maxlength="8" name="code" data-rule-required="true" placeholder="请输入短信验证码">
                <span class="btn-half flag hf-dtm-get" id="register-send-code-btn" onclick="sendSMSCode()">获取验证码</span>
                <span class="hf-err-tips" style="display: none;" id="code-tips"><i class="iconfont icon_error">&#xe605;</i><span id="register-code-tips">验证码错误</span></span>
            </div>
            <div class="hf-input ">
                <input class="hf-password reg-name" id="register-username" name="username" maxlength="20" placeholder="请输入姓名" data-hf-widgets="2">
          <span class="hf-err-tips reg-name-error" style="display: none;"> <i class="iconfont icon_error">&#xe605;</i><span id="register-username-tips">包含非法字符</span></span>
            </div>
            <div class="hf-input ">
                <input type="password" class="hf-password" name="password" maxlength="20" placeholder="请设置登录密码" data-hf-widgets="2">
                <span class="hf-err-tips" style="display: none;"><i class="iconfont icon_error">&#xe605;</i><span id="password-tips">密码格式错误</span></span>
            </div>
            <button class="hf-btn btn-bule" type="submit" onclick="gotoRegister()">注册</button>
            <div class="hf-third-login clearfix">
                <ul class="forget-pwd ">
                    <li class="fl"><a href="#" class="col-blue"></a></li>
                    <li class="fr"><a href="#" onclick="$('#register').hide();$('#login').show();"><em>已有账号？</em>立即登录</a></li>
                </ul>
            </div>
        </div>
    </div>
</div>
<!-- 注册弹出框 end-->
<!-- 找回密码 Start-->
<div class="resetpwd" id="resetpwd-1" style="display: none;">
    <div class="mask">
    </div>
    <div class="share-component">
        <div class="popTitle">
            <span class="title">找回密码 </span>
            <i class="iconfont close" onclick="$('#resetpwd-1').hide();enableScroll()">&#xe600;</i>
        </div>
        <div class="login-box clearfix padd30">
            <div class="hf-input ">
                <input class="hf-username" name="username" id="resetpassword-phone" placeholder="请输入手机号" data-hf-widgets="1">
                <span class="hf-err-tips" style="display: none;"><i class="iconfont icon_error">&#xe605;</i><span id="resetpassword-phone-tips">手机号码格式不正确</span></span>
            </div>
            <div class="hf-input ">
                <input class="hf-captcha" maxlength="8" name="captcha" id="resetpassword-code" data-rule-required="true" placeholder="请输入短信验证码" id="resetpassword-code">
                <span class="btn-half hf-dtm-get flag " id="resetpassword-send-code" onclick="resetSendSMSCode()">获取验证码</span>
                <span class="hf-err-tips" style="display: none"><i class="iconfont icon_error">&#xe605;</i><span id="resetpassword-send-code-tips">密码错误提示</span></span>
            </div>
           <!-- <div class="hf-input">
                <input id="resetpassword-new-password" type="password" class="hf-password" name="password" maxlength="20" placeholder="请设置登录密码" data-hf-widgets="2">
                <span class="hf-err-tips"><i class="iconfont icon_error">&#xe605;</i><span id="resetpassword-new-password-tips">密码格式错误</span></span>

            </div>-->
            <button class="hf-btn btn-bule" onclick="stepOneBtn()">下一步</button>
        </div>
    </div>
</div>

<!-- 完成 -->
<div class="resetpwd" id="resetpwd-2" style="display: none;">
    <div class="mask">
    </div>
    <div class="share-component">
        <div class="popTitle">
            <span class="title">找回密码 </span>
            <i class="iconfont close" onclick="$('#resetpwd-2').hide();enableScroll()">&#xe600;</i>
        </div>
        <div class="login-box clearfix padd30">
             <div class="hf-input ">
                <input type="password" class="hf-password" name="password" id="resetpassword-new-password" maxlength="20" placeholder="请输入新的6-20位密码" data-hf-widgets="2">
                <span class="hf-err-tips" style="display: none;"><i class="iconfont icon_error">&#xe605;</i><span id="reset-password-step-two-new-password-tips">密码格式错误</span></span>
            </div>
             <div class="hf-input ">
                <input type="password" class="hf-password" name="password" id="resetpassword-new-again-password" maxlength="20" placeholder="请再次输入新的密码" data-hf-widgets="2">
                <span class="hf-err-tips" style="display: none;"><i class="iconfont icon_error">&#xe605;</i><span id="reset-password-step-two-new-again-password-tips">密码格式错误</span></span>
            </div>
            <button id="finish-reset-password" class="hf-btn btn-bule" onclick="resetPassword()">完成</button>
        </div>
    </div>
</div>
<!-- 设置成功 -->
<div class="succe" id="change-password-success" style="display: none;" >
    <div class="mask">
    </div>
    <div class="share-component" id="">
        <div class="succe-box">
        <div class="succe-left fl">
             <i class="iconfont " >&#xe601;</i>
        </div>
        <div class="succe-right fr">
            <h3>您的登录密码已重置成功!</h3>
            <p> <em id="time-second">3</em>秒后返回登录界面</p>
        </div>

        </div>
    </div>
</div>
<!-- 找回密码 Start-->
<!-- 小助手 Start-->
<div class="class-dialog" id="helper">
    <div class="mask">
    </div>
    <div class="share-mian">
        <div class="popTitle">
            <img src="{$IMG_PATH}tast.png" height="" width="" alt="" class="tast-img" />
            <span class="title padding-13">给我一分钟，找到最合适您的课程 </span>
            <i class="iconfont close" onclick="closeHelper();enableScroll()">&#xe600;</i>
        </div>
        <div class="class-box clearfix">
            <p class="class-tit">年级</p>
            <ul class="class-list grade">
                <li class="marleft-first" data-name="高三">高三<b></b></li>
                <li class="" data-name="高二">高二<b></b></li>
                <li class="" data-name="高一">高一<b></b></li>
            </ul>
            <ul class="class-list grade" >
                <li class="marleft-first" data-name="初三">初三<b></b></li>
                <li class="" data-name="初二">初二<b></b></li>
                <li class="" data-name="初一">初一<b></b></li>
                <li class="" data-name="初一">小学/预备班<b></b></li>

            </ul>
            <p class="class-tit clearfix ">年级排名</p>
            <ul class="class-list paiming">
                <li class="marleft-first">名列前茅<b></b></li>
                <li class="">中游<b></b></li>
                <li class="">需努力<b></b></li>

            </ul>
            <div class="class-btn">
                <button class="hf-btn btn-bule " onclick="helperKecheng()">下一步</button>
            </div>

        </div>
    </div>
</div>
<!--小助手 end-->

<!-- 弹框2 Start-->
<div class="course-ad" id="course" >
    <div class="mask">
    </div>
    <div class="share-mian">
        <div class="popTitle">
            <img src="{$IMG_PATH}tast.png" height="" width="" alt="" class="tast-img" />
            <span class="title padding-13">通过您的情况，我们提供以下精品课程</span>
            <i class="iconfont close" onclick="closeHelper();enableScroll()">&#xe600;</i>
        </div>
        <div class="course-box clearfix " >
            <ul class="course-list marleft-first" id="helper-course">
                <li >
                    <a href="goods.php?id=">
                    <em></em>
                    <h3>初中金牌课程套餐32课时</h3>
                    <p>适合备考时间较少，需要在短期内攻破几个重要知识点的学生</p>
                    <a href="#">查看详情</a>
                    </a>
                </li>
                <li >
                    <em></em>
                    <h3>初中金牌课程套餐32课时</h3>
                    <p>适合备考时间较少，需要在短期内攻破几个重要知识点的学生</p>
                   <a href="#">查看详情</a>
                </li>
                <li >
                    <em></em>
                    <h3>初中金牌课程套餐32课时</h3>
                    <p>适合备考时间较少，需要在短期内攻破几个重要知识点的学生</p>
                   <a href="#">查看详情</a>
                </li>
                <li >
                    <em></em>
                    <h3>初中金牌课程套餐32课时</h3>
                    <p>适合备考时间较少，需要在短期内攻破几个重要知识点的学生</p>
                   <a href="#">查看详情</a>
                </li>
                <li >
                    <em></em>
                    <h3>初中金牌课程套餐32课时</h3>
                    <p>适合备考时间较少，需要在短期内攻破几个重要知识点的学生</p>
                    <a href="" class="cart-price">查看详情</a>
                </li>
                <li >
                    <em></em>
                    <h3>初中金牌课程套餐32课时</h3>
                    <p>适合备考时间较少，需要在短期内攻破几个重要知识点的学生</p>
                   <a href="#">查看详情</a>
                </li>
            </ul>
        </div>
    </div>
</div>
<!--弹框1 Start-->


<div class="site-topbar">
    <div class="container">
        <div class="fl">
            <a href="/" target="_blank" class="" title=""> <i class="iconfont home">&#xe603;</i>海风首页</a>

        </div>
        <div class="fr">
            {if $smarty.session.user_id eq ''}
            <a onclick="$('#login').show();disableScroll()" href="javascript:void(0);"> 登录</a>
            <span class="line">|</span>
            <a onclick="$('#register').show();disableScroll()" href="javascript:void(0);"> 注册</a>
            {else}
            <a href="user.php">{$smarty.session.user_name}</a>,
            <a  href="user.php?act=logout"> 退出</a>
            {/if}
            <span class="line">|</span>
            <a onclick="gotoUser();"> 我的订单</a>
            <span class="line">|</span>
            <a target="_blank" href="http://www10.53kf.com/webCompany.php?arg=10069074&style=1&keyword=&kf="> 咨询客服</a>

        </div>
    </div>
</div>
<div class="site-header  clearfix ">
    <div class="container">
        <a class="header-logo fl" href="/">
            <img src="{$IMG_PATH}logo.png" width="" height="" alt=""  title="">
        </a>
        <div class="header-nav fl">
            <ul  class="nav-list">
                <li ><a href="/" {if $smarty.get.cat eq ''}class="active"{/if}>首页</a></li>

                <li ><a href="goods.php?cat=0" {if $key eq '初'} class='active'{/if}>初中一对一精品课程</a></li>
                <li ><a href="goods.php?cat=1" {if $key eq '高'} class='active'{/if}> 高中一对一精品课程 </a></li>
                <li ><a href="goods.php?cat=2" {if $key eq '升'} class='active'{/if}> 自主招生一对一升学课程</a></li>
               <!-- <li ><a href="/">留学金牌课程</a></li>
                <li ><a href="/">充值专区</a></li>-->

            </ul>
        </div>
        <!--<div class="header-search fr">
            <form id="J_searchForm" class="search-form clearfix" action="" method="get">
                <label for="search" class="hide">站内搜索</label>
                <input class="search-text" type="search" id="search" name="keyword" autocomplete="off" placeholder="搜索">
                <input type="submit" class="search-btn " value="">
                <span class="search-icon"><i class="iconfont">&#xe60a;</i></span>

            </form>

        </div>-->
    </div>
</div>
<!--header End  -->